Skip to content

quantum phase 3: add KeyVault lifecycle UX and read-path compatibility — introduces cast quantum subcommand group (bootstrap / add-key / remove-key / update-key-auth) that reuses the shared CastTxBuilder + ML-DSA signing pipeline, routes through `Quan#4

Merged
eacet merged 1 commit intomasterfrom
feature/eng-2099
May 1, 2026

Conversation

@eacet
Copy link
Copy Markdown
Member

@eacet eacet commented Apr 17, 2026

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4557121c61

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/cast/src/cmd/quantum.rs
Comment thread crates/cast/src/cmd/quantum.rs
Copy link
Copy Markdown
Member Author

eacet commented May 1, 2026

Merge activity

  • May 1, 6:46 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 1, 6:51 AM UTC: Graphite rebased this pull request as part of a merge.
  • May 1, 6:52 AM UTC: @eacet merged this pull request with Graphite.

@eacet eacet changed the base branch from eng-2098-phase-2 to graphite-base/4 May 1, 2026 06:49
@eacet eacet changed the base branch from graphite-base/4 to master May 1, 2026 06:50
…y — introduces `cast quantum` subcommand group (bootstrap / add-key / remove-key / update-key-auth) that reuses the shared `CastTxBuilder` + ML-DSA signing pipeline, routes through `QuantumWriteRequestV1`, and auto-applies `QUANTUM_LIFECYCLE_GAS_FLOOR`; distinguishes `--auth-key-id` (signer lane) from `--target-key-id` (key entry mutated). Adds shared `sol!`-backed KeyVault lifecycle calldata builders in `foundry-common` with byte-matched Phase 0 selector tests. Preserves `cast call` behavior for ordinary read paths while failing closed on all four lifecycle selectors with the frozen unsupported-simulation error. Moves CLI-policy lifecycle rejection out of the shared write-request validator (blocked `cast quantum` from signing its own legitimate payloads) into the `cast send` pre-build guard only.
@eacet eacet force-pushed the feature/eng-2099 branch from 4557121 to b44baaf Compare May 1, 2026 06:51
@eacet eacet merged commit 5f1a14b into master May 1, 2026
3 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant